package com.maiji.cloud.response.manager;

import com.maiji.cloud.entities.manager.Role;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;
import java.util.List;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class UserResData {

    @ApiModelProperty(value="用户ID")
    private String uuId; //主键

    @ApiModelProperty(value="用户账号")
    private String name;

    @ApiModelProperty(value="执行密码")
    private String executePwd;

    @ApiModelProperty(value="添加时间")
    private Date addDate;

    @ApiModelProperty(value="是否可用，0-否，1-是")
    private Boolean usable;

    @ApiModelProperty(value="是否只读")
    private Boolean onlyRead;

    @ApiModelProperty(value="是否可用，0-否，1-是")
    private List<Role> roles;

}
